package com.rimi.live.bean;

import java.util.Date;

public class RimitvUser {
    private Integer id;

    private String username;

    private String password;

    private Integer account;

    private Integer isRole;

    private String attention;

    private Date time;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Integer getAccount() {
        return account;
    }

    public void setAccount(Integer account) {
        this.account = account;
    }

    public Integer getIsRole() {
        return isRole;
    }

    public void setIsRole(Integer isRole) {
        this.isRole = isRole;
    }

    public String getAttention() {
        return attention;
    }

    public void setAttention(String attention) {
        this.attention = attention == null ? null : attention.trim();
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", username=").append(username);
        sb.append(", password=").append(password);
        sb.append(", account=").append(account);
        sb.append(", isRole=").append(isRole);
        sb.append(", attention=").append(attention);
        sb.append(", time=").append(time);
        sb.append("]");
        return sb.toString();
    }
}